/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#ifndef STANZAS_H
#define STANZAS_H

#include <QString>
#include <xmpp_element.h>
class Jid;
class Stanzas : public XmppElement
{
    Q_OBJECT
public:
    Q_INVOKABLE  Stanzas(const QString& tagName,const QString& ns);
    const Jid* From() const;
    void SetFrom (const Jid& jid);
    const Jid* To() const;
    void SetTo(const Jid& jid);
    QString Id() const;
    void SetId(const QString& id);
    QString Xmllang() const;
    void SetXmllang(const QString& xmllang);
    QString type() const;
    void SetType(const QString& type);
    void GenerateId();
private:
    /*Jid *from_;
    Jid *to_;
    QString id_;
    QString xmlLang_;
    QString type_;*/
    static int s_id_;
signals:

public:

};

#endif // STANZAS_H
